package com.itheima.activiti.dto.activiti;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

@Data
@ApiModel("任务")
public class TaskDTO {
    @ApiModelProperty(value = "任务ID")
    private String taskId;
    @ApiModelProperty(value = "任务名称")
    private String taskName;
    @ApiModelProperty(value = "创建时间")
    private Date createTime;

    @ApiModelProperty(value = "流程定义ID")
    private String processDefinitionId;
    @ApiModelProperty(value = "流程定义KEY")
    private String processDefinitionKey;
    @ApiModelProperty(value = "流程定义名称")
    private String processDefinitionName;

    @ApiModelProperty(value = "实例ID")
    private String processInstanceId;
    @ApiModelProperty(value = "流程发起时间")
    private Date startTime;

    @ApiModelProperty(value = "业务ID")
    private String businessKey;
    @ApiModelProperty(value = "是否是自己提交的任务")
    private Boolean self = false;

}
